package chase.myrewards;

import android.os.Bundle;
import android.preference.PreferenceActivity;

/**
 * Activity to handle preferences.  It's all automatically handled
 * by the Android operating system. This just sets the layout to the
 * xml menu file that we the programmers create.
 * 
 * @author Meena Abdou
 * @date 05/10/2013
 */
public class PrefsActivity extends PreferenceActivity {
	public final static int PREFS_ACTIVITY = 0;
	public final static String PASSWORD = "password";
	public final static String SHOW_LOCATIONS = "showLocations";
	public final static String FAVORITES = "favorites";
	public final static String RECENT = "recent";
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
	   super.onCreate(savedInstanceState);
	   addPreferencesFromResource(R.layout.prefs);
	}
}
